package com.shen.start;
//a b换位子
import java.util.Scanner;

public class Change {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();

        //write your code here.......

        int temp;
        temp=a;
        a=b;
        b=temp;

        System.out.println(a+" "+b);
    }
}
